﻿using System;
using System.Collections.Generic;

using RexToy.UI.WinForm.Controls;

using Studio.ViewModel;

namespace Studio.UI
{
    public class FrmException : Form
    {
        [PmlxBoundControl]
        protected TreeView tv;

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            var vm = ViewModel as FrmExceptionVM;
            tv.Bind(vm.Error);
        }
    }
}
